import i18n from '../i18n/i18n.js'
import store from '../store/index.js'
const setTabBar = () => {
	const $t = i18n.messages[i18n.locale]
	store.commit('SET_TABBARINFOTYPE', [{
			pagePath: '/pages/home/index',
			iconPath: '/static/icon/AboutUs/2x/ic_01_u@2x.png',
			selectedIconPath: '/static/icon/AboutUs/2x/AboutUs8@2x.png',
			text: $t.tabBar.home,
			raisede: false,
			info: '',
			dot: false
		},
		{
			pagePath: '/pages/maps/orderTracking',
			iconPath: '/static/icon/AboutUs/2x/ic_02_u@2x.png',
			selectedIconPath: '/static/icon/AboutUs/2x/AboutUs9@2x.png',
			text: $t.tabBar.home2,
			raisede: false,
			info: '',
			dot: false
		},
		{
			pagePath: '/pages/maps/index',
			iconPath: '/static/icon/AboutUs/2x/ic_03@2x.png',
			selectedIconPath: '/static/icon/AboutUs/2x/AboutUs10@2x.png',
			text: $t.tabBar.home3,
			raisede: false,
			info: '',
			dot: false
		},
		{
			pagePath: '/pages/businessCard/index',
			iconPath: '/static/icon/AboutUs/2x/ic_my_u@2x.png',
			selectedIconPath: '/static/icon/AboutUs/2x/AboutUs11@2x.png',
			text: $t.tabBar.home4,
			raisede: false,
			info: '',
			dot: false
		}
	]);
}
export {
	setTabBar
}
